package com.study.goal.service;


import com.study.common.core.domain.PageQuery;
import com.study.common.core.page.TableDataInfo;
import com.study.goal.domain.bo.PerformanceRecordsBo;
import com.study.goal.domain.vo.PerformanceRecordsVo;

import java.util.Collection;
import java.util.List;

/**
 * 成绩记录Service接口
 *
 * @author MT
 * @date 2025-09-03
 */
public interface IPerformanceRecordsService {

    /**
     * 查询成绩记录
     */
    PerformanceRecordsVo queryById(Long id);

    /**
     * 查询成绩记录列表
     */
    TableDataInfo<PerformanceRecordsVo> queryPageList(PerformanceRecordsBo bo, PageQuery pageQuery);

    /**
     * 查询成绩记录列表
     */
    List<PerformanceRecordsVo> queryList(PerformanceRecordsBo bo);

    /**
     * 新增成绩记录
     */
    Boolean insertByBo(PerformanceRecordsBo bo);

    /**
     * 修改成绩记录
     */
    Boolean updateByBo(PerformanceRecordsBo bo);

    /**
     * 校验并批量删除成绩记录信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
